package com.selen.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Selen
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "EmpUploadDTO", description = "员工头像上传DTO")
public class EmpUploadDTO implements Serializable {

    @NotNull
    @Schema(description = "员工主键")
    private Long id;

    @Schema(description = "员工头像")
    private MultipartFile avatarFile;



}